package com.mike.blog.repository;

import com.mike.blog.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author xiaozefeng
 * @date 2018-12-14 16:54
 */
public interface UserRepository extends JpaRepository<User, String> {

    User findByName(String name);
}
